package com.sc.nft.entity.vo;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class AdminEcologyPointsUserWalletPageVO {

    @ApiModelProperty(value = "用户燃料表id")
    private Long id;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "昵称")
    private String nickeName;

    @ApiModelProperty(value = "手机号")
    private String userTel;

    @ApiModelProperty(value = "积分数量")
    private String amount;

    public void setAmount(BigDecimal amount) {
        this.amount = amount.setScale(2,BigDecimal.ROUND_DOWN).toPlainString();
    }
}
